package com.csun.cmny.provider.model.dto.bedsideScreen;

import com.csun.cmny.provider.validator.DmcDeviceEditValidator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-13 15:11
 * @Description: the class bind sleep care dto
 */
@Data
@ApiModel(value = "绑定床头屏Dto")
public class BindBedsideScreenDto implements Serializable {

    private static final long serialVersionUID = -1116835378373675618L;

    /**
     * 设备Id
     */

    @ApiModelProperty(value = "设备Id", required = true)
    @NotNull(message = "{device.id.null}",
            groups = {DmcDeviceEditValidator.class})
    private Long deviceId;
/*

    *
     * 设备绑定位置
*/

    @ApiModelProperty(value = "绑定位置", required = true)
    private String location;





    /**
     * 床位Id
     */
    @ApiModelProperty(value = "床位id", required = true)
    private Integer bedId;

}
